lib/pull: Simplify a for-loop initialisation
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:46:15 +0000 (14:46 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 7 Jun 2017 16:55:35 +0000 (16:55 +0000)
commit14082e6b030e11391c429c3e3b878ada717affdd
tree55b5f48ef74696714bbcb788c1d6c183ac231b35
parent52ede69df8e27a28a5e941fa9769405141c914ca
lib/pull: Simplify a for-loop initialisation

It’s a bit neater to initialise the loop iterator and maximum in the
same place.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #911
Approved by: cgwalters
src/libostree/ostree-repo-pull.c